<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import = "crm.model.Notice"%>
<%@ page import = "crm.control.NoticeControl"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../resources/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../../resources/css/inner.css" type="text/css" media="screen" />
<style type='text/css'>
 a{font-size:12px; text-decoration:none; color:#70B300;}
</style>
<body>
<%
	request.setCharacterEncoding("UTF-8");
  	response.setCharacterEncoding("utf-8");
	int id = Integer.parseInt(request.getParameter("id"));

	NoticeControl nc = new NoticeControl();
  	Notice news = nc.getOneNoticeById(id);
	
%>
<table>
<tr>
<td>标题</td>
<td><%out.print(news.getTheme());%></td>
</tr>
<tr>
<td>内容</td>
<td><%
		out.print(news.getContent());
	%></td>
</tr>
<tr>
<td colspan='2' style='text-align: center;'>
<input class='button' type="button" value="返回公告列表" onclick="window.top.location.href='notice.jsp'">
 </td>
</tr>
</table>
</body>






